package matse11.project;

import android.app.Activity;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.*;

public class HauptmenueActivity extends Activity 
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.hauptmenueview); 
        
        Button btSpiel = (Button) findViewById(R.id.btNeuesSpiel);
        Button btHighscore = (Button) findViewById(R.id.btHighScore);
        Button btInfo = (Button) findViewById(R.id.btInfo);
        Button btBeenden = (Button) findViewById(R.id.btBeenden);
        Button btAnleitung = (Button) findViewById(R.id.btAnleitung);
        		
		btBeenden.setOnClickListener(new beendenClick());
        btInfo.setOnClickListener(new infoClick(this));
        btHighscore.setOnClickListener(new highscoreClick(this));
        btSpiel.setOnClickListener(new spielernameClick(this));
        btAnleitung.setOnClickListener(new anleitungClick(this));
        
        //halloo
    }
}